import request from '@/utils/request'

// 获取列表
export function getList(data) {
    return request({
        url: '/House_transfer/transfer_out_gift_list',
        method: 'post',
        data: data
    })
}

// 礼品详情
export function getInfo(data) {
    return request({
        url: '/House_transfer/get_gift_info',
        method: 'post',
        data: data
    })
}
// 获取门店
export function getStore(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}
// 获取门店信息
export function storeInfo(data) {
    return request({
        url: '/General/get_store_house_adress',
        method: 'post',
        data: data
    })
}
// 搜索礼品
export function getGift(data) {
    return request({
        url: '/House_transfer/gift_list_new/1',
        method: 'post',
        data: data
    })
}
// 保存
export function edit(data) {
    return request({
        url: '/House_transfer/edit_order',
        method: 'post',
        data: data
    })
}